#include<stdio.h>
int main(){
  int x=1;
  int y=2;
  int z=3;
  printf("a=%d;b=%d;c=%d\n",x,y,z );
  printf("Hello World ! \n");
  printf("nihao\n");
  struct{
    char *name;//名字
    int num;//序号
    int age;//年纪
    char group;//所在小组
    float score;//成绩
  } stu1,stu2 = { "Tom", 12, 18, 'A', 136.5 };
  //给结构体成员赋值
   stu1.name = "Tom2";
   stu1.num = 1244;
   stu1.age = 1844;
   stu1.group = 'A';
   stu1.score = 1367.5;
   //读取结构体成员的值
   printf("%s的学号是%d，年龄是%d，在%c组，今年的成绩是%.1f！\n", stu1.name, stu1.num, stu1.age, stu1.group, stu1.score);
   printf("%s的学号是%d，年龄是%d，在%c组，今年的成绩是%.1f！\n", stu2.name, stu2.num, stu2.age, stu2.group, stu2.score);
  return 0;
}
// Test02 operator=(const Test02&);
// Test02 Test02::operator=(const Test02& rhs){
//   if(this==&rhs){
//     return *this;
//   }
//   delete speed;
//   speed=new int;
//   *speed=rhs.getSpeed();
//   return *this;
// }
